#!bin/bash

###卸载phpmyadmin
echo  -e "\033[37m 正在卸载phpMyAdmin服务==========================================—————\033[31m"
yum remove  $(rpm -qa|grep phpMyAdmin) -y
yum remove epel-release -y
yum remove php-mysql mariadb-server –y
rm -rf /etc/httpd/conf.d/phpMyAdmin.conf
rm -rf /etc/var/www/html/phpMyAdmin*
echo -e "\033[37m 程序文件删除完成\033[31m"